import { Themes } from '@/theme/types.ts'
import { theme } from 'antd'

const sharedTheme = {
  algorithm: theme.defaultAlgorithm,
  token: {
    // Seed Token，影响范围大
    colorPrimary: '#00b96b',
    borderRadius: 2,

    // 派生(自定义)变量，影响范围小
    colorBgContainer: '#f6ffed'
  }
}
const themes: any = {
  [Themes.LIGHT]: {
    ...sharedTheme,
    ...{}
  },

  [Themes.DARK]: {
    ...sharedTheme,
    ...{}
  }
}

export default themes
